The Art of LEGO MINDSTORMS NXT-G Programming by Terry Griffin

The Art of LEGO MINDSTORMS NXT-G Programming by Terry Griffin

Author:Terry, Griffin [Terry Griffin]
Language: eng
Format: epub
Tags: TECHNOLOGY & ENGINEERING / Robotics
ISBN: 9781593273477
Publisher: No Starch Press
Published: 2010-10-31T16:00:00+00:00


Select Total Red from the list of variables. (You don’t need to change the Action setting, because it should already be set to Read.)

Add a Math block after the Variable block, and set the B value to 1.

Add another Variable block after the Math block. Select Total Red from the list of variables, and set Action to Write. You don’t need to set the value in the Configuration Panel because it’ll be set using a data wire from the Math block.

Connect the blocks by drawing a data wire from the output plug of the first Variable block to the Math block’s A input plug.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.